package com.log.james.entity;

public class SecurityLog {
//    日志发生的时间
    private String time;
//    日志类型。firewall，web
    private String type;
//    四元组
    private String srcIp;
    private String srcPort;
    private String dstIp;
    private String dstPort;
//    其余附加信息
    private Object data;

    public  SecurityLog(){}

    public SecurityLog(String time, String type, String srcIp, String srcPort, String dstIp, String dstPort, Object data) {
        this.time = time;
        this.type = type;
        this.srcIp = srcIp;
        this.srcPort = srcPort;
        this.dstIp = dstIp;
        this.dstPort = dstPort;
        this.data = data;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSrcIp() {
        return srcIp;
    }

    public void setSrcIp(String srcIp) {
        this.srcIp = srcIp;
    }

    public String getSrcPort() {
        return srcPort;
    }

    public void setSrcPort(String srcPort) {
        this.srcPort = srcPort;
    }

    public String getDstIp() {
        return dstIp;
    }

    public void setDstIp(String dstIp) {
        this.dstIp = dstIp;
    }

    public String getDstPort() {
        return dstPort;
    }

    public void setDstPort(String dstPort) {
        this.dstPort = dstPort;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
